# howIsItGoing.py # # Description: Chatbot that asks a user how their day is going, and make # a comment that changes depending on how the user answered. # # Author: Anne Lavergne # Date: M Jan. 15 2024 # Ask user how their day is going # Read user's reply userReply = input("Hey! How's your day going? ").strip().lower() responses = ["great!", "fine!", "good!", "ok!"] # Make comment if user's day is going well if userReply in responses: print("Glad to hear!") print("Mine too!") else: # Make another type of comment otherwise print("Oh! Sorry to hear!")